Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / NamedObjectCollection<T> Class / OnRemove Method
The zero-based index at which the value can be found.
The value of the element to remove from the index.


In This Topic
    OnRemove Method (NamedObjectCollection<T>)
    In This Topic
    Performs additional custom processes when removing an element from the System.Collections.CollectionBase instance.
    Syntax
    'Declaration
     
    
    Protected Overridable Sub OnRemove( _
       ByVal index As Integer, _
       ByVal value As Object _
    ) 
    'Usage
     
    
    Dim instance As NamedObjectCollection(Of T)
    Dim index As Integer
    Dim value As Object
     
    instance.OnRemove(index, value)
    protected virtual void OnRemove( 
       int index,
       object value
    )

    Parameters

    index
    The zero-based index at which the value can be found.
    value
    The value of the element to remove from the index.
    See Also